package com.hankol.material.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author 关忆北丶
 * @description:
 * @date :2021/6/19 15:39
 */
public class MaterialHomeBean implements Serializable {

    private static final long serialVersionUID = 2487073642339160249L;
    private String cursor;
    private int size;
    private int page;
    private String preCursor;
    private String nextCursor;
    private int count;
    private int totalCount;
    private boolean hasnext;
    private int totalPage;
    private List<DataBean> data;

    public String getCursor() {
        return cursor;
    }

    public void setCursor(String cursor) {
        this.cursor = cursor;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public String getPreCursor() {
        return preCursor;
    }

    public void setPreCursor(String preCursor) {
        this.preCursor = preCursor;
    }

    public String getNextCursor() {
        return nextCursor;
    }

    public void setNextCursor(String nextCursor) {
        this.nextCursor = nextCursor;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public boolean isHasnext() {
        return hasnext;
    }

    public void setHasnext(boolean hasnext) {
        this.hasnext = hasnext;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        private static final long serialVersionUID = -8210234471020996345L;
        /**
         * id : 18
         * type : 1
         * status : 0
         * cover : http://test-store.hankeapp.cn/storage/200*96*08a6569a98c7b2b27f342d3d7370563f.jpg
         * name : 测试2
         * desc : gjgjg gj gg  gjhg
         * fileUrl : http://test-store.hankeapp.cn/storage/250*120*6a7dc5842884afdeb9dc7835ff4cdab7_250_120.jpeg
         * firstCid : 4
         * secondCid : 22
         * ctime : 1623987045900
         * utime : 1623988649844
         */

        private int id;
        private int type;//1=图片 2=视频 3=文档
        private int status;
        private String cover;
        private String name;
        private String desc;
        private String fileUrl;
        private int firstCid;
        private int secondCid;
        private long ctime;
        private long utime;
        private int hasLiked;
        private int currentCollectionId;

        public int getCurrentCollectionId() {
            return currentCollectionId;
        }

        public void setCurrentCollectionId(int currentCollectionId) {
            this.currentCollectionId = currentCollectionId;
        }

        public int getHasLiked() {
            return hasLiked;
        }

        public void setHasLiked(int hasLiked) {
            this.hasLiked = hasLiked;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getFileUrl() {
            return fileUrl;
        }

        public void setFileUrl(String fileUrl) {
            this.fileUrl = fileUrl;
        }

        public int getFirstCid() {
            return firstCid;
        }

        public void setFirstCid(int firstCid) {
            this.firstCid = firstCid;
        }

        public int getSecondCid() {
            return secondCid;
        }

        public void setSecondCid(int secondCid) {
            this.secondCid = secondCid;
        }

        public long getCtime() {
            return ctime;
        }

        public void setCtime(long ctime) {
            this.ctime = ctime;
        }

        public long getUtime() {
            return utime;
        }

        public void setUtime(long utime) {
            this.utime = utime;
        }
    }
}
